package edu.zut.cs.software.module.billManagement.service.impl;

import org.springframework.stereotype.Service;
/**
 * yuki
 */

import edu.zut.cs.software.module.billManagement.domain.BillManagement;
import edu.zut.cs.software.module.billManagement.service.BillManager;
import edu.zut.cs.software.teach.Base.service.impl.GenericManagerImpl;

@Service("billManager")
public class BillManagerimpl extends GenericManagerImpl<Long, BillManagement> implements BillManager {

	@Override
	public BillManagement findById(Long id) {
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	public String Payoff(BillManagement billManagement)
	{
	// TODO Auto-generated method stub
			String Info;
			Info="商品名称："+billManagement.getName()+" "+"商品价格"+billManagement.getPrice()+" "+"商品编号"+billManagement.getId();
			return Info;
	}
}  